<?php
namespace  plugin\banmitongcheng\admin; 
use  plugin\banmitongcheng\model\PluginBanTongchengshopUsers; 
use  plugin\banmitongcheng\validate\TongchengshopusersValidate;
use app\admin\common\Baseadmin;


class Tongchengshopusers extends Baseadmin
{
 
 
       
      /**
      * @notes  尺寸za 333
      * @variable  uid=2;face=; 
      * @date 2022-12-04 21:31:50
      * @author 半米科技低代码一键生成
      */
      public function   updates_ccz(){  
             $request= (new TongchengshopusersValidate())->IsCheck('ccz');
             $field=["face"];
             $request['face']= 2;
             $map=[
                  ['uid',	'='   ,    input('request.uid')  ],
                  ];
             $model =(new PluginBanTongchengshopUsers())->updates($map,$request,$field);
              if($model){
               ajaxmsg('更新成功', 200);
              }
               ajaxmsg('更新失败', 0);  
      }
      //控制器方法
    
    
    
}